package com.ozy.kxreader.mvp.contract

import com.chad.library.adapter.base.entity.SectionEntity
import com.ozy.kxreader.base.IModel
import com.ozy.kxreader.base.IView
import com.ozy.kxreader.mvp.model.entity.Category
import com.ozy.kxreader.mvp.model.entity.CategoryList
import io.reactivex.Observable
import java.util.ArrayList

/**
 * Created by 欧源 on 2018/1/30.
 */
interface CategoryContract {


    interface View : IView {
        fun showCategoryList(data: ArrayList<SectionEntity<Category>>)
    }


    interface Model : IModel {

        fun getCategoryList(): Observable<CategoryList>
    }


}